@charset "utf-8";
/*
date：2018-11-07. ,
author: Hexiyang ,
author-blog: http://hexiyang.cn
*/
@import url(../animation);

.UserCenter {
  //个人信息
  .top {
    position: relative;
    width: 100%;
    height: 20rem;
    text-align: center;
    background-image: url('/static/web/imgs/top-bg.jpg');
    background-size: cover;
    background-position: center center;
    .btn-menu {
      position: absolute;
      top: 1rem;
      left: 1rem;
      padding: 1rem;
      color: white;
      background: none;
    }
    .headimg {
      width: 8rem;
      height: 8rem;
      margin: 0 auto;
      border-radius: 50%;
      position: relative;
      top: 2rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .spinner {
      width: 5rem;
      height: 5rem;
      position: absolute;
      border-radius: 50%;
      opacity: .2;
      background: none;
      -webkit-animation: spinnering 1.5s infinite linear;
      -moz-animation: spinnering 1.5s infinite linear;
      animation: spinnering 1.5s infinite linear;
      -webkit-animation-delay: .5s;
      -moz-animation-delay: .5s;
      animation-delay: .5s;
      border: solid 5px #ffffff;
      margin: 0 auto;
    }
    img {
      width: 6rem;
      height: 6rem;
      box-sizing: border-box;
      border-radius: 50%;
      border: solid 5px #ffffff;
    }
    .username, .userid {
      color: white;
      font-size: 1.3rem;
      padding-top: .2rem;
    }
    .username {
      margin-top: 2rem;
    }
    .money {
      position: absolute;
      left: 1rem;
      bottom: 2rem;
      color: white;
    }
  }
  //块级标题
  .sub-title {
    font-size: 1.4rem;
    line-height: 2.75rem;
    padding-left: 1.2rem;
    background-color: #f5f5f5;
    //width: 100%;
    border-bottom: 1px solid rgba(200, 200, 200, 0.3);
    color: #333;
    border-top: 1px solid rgba(200, 200, 200, 0.3);
  }

  .scroll-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 263px;
    bottom: 0;
    z-index: 3;
    background-color: white;
  }
  .scroll-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 10px;
    border-bottom: 1px solid #ddd;
    img {
      width: 2rem;
      height: 2rem;
      margin-right: 1rem;
      display: inline-block;
    }
    .iconfont {
      color: #888;
    }
  }
  .btn-out {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    line-height: 4;
    background-color: #838383;
    color: white;
  }
  .tran {
    transform: translate3d(263px, 0px, 0px);
    transition: transform 350ms cubic-bezier(.165, .84, .44, 1);
  }
  .bg {
    position: fixed;
    background-color: rgba(0, 0, 0, .4);
    z-index: 2;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
  }

  //weui样式重置
  .weui-grid {
    width: 25%;
    padding: 16px 10px 10px 10px;
  }
  .weui-grid:before, .weui-grid:after {
    border: 0
  }
  .weui-grids {
    background-color: white;
    min-height: 2rem;
  }
  .weui-grid__label {
    color: #888;
    font-size: 1.2rem;
  }
}